package net.maku.events.vo;

import cn.hutool.core.annotation.Alias;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import lombok.Data;

import java.io.Serializable;

/**
 * excel题目表
 *
 * @author 阿沐 babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Data
public class ActivityQuestionBankExcelVO implements Serializable, TransPojo {
    private static final long serialVersionUID = 1L;

    /**
     * 本属性对于导出无用，只是用于翻译
     */
    @ExcelIgnore
    private Long id;

    @Alias("题干（必填）")
    private String questionTitle;

    @Alias("选项A")
    private String optionTitleA;

    @Alias("选项B")
    private String optionTitleB;

    @Alias("选项C")
    private String optionTitleC;

    @Alias("选项D")
    private String optionTitleD;

    @Alias("选项E")
    private String optionTitleE;

    @Alias("选项F")
    private String optionTitleF;

    @Alias("选项G")
    private String optionTitleG;

    @Alias("选项H")
    private String optionTitleH;

    @Alias("正确答案（必填）")
    private String whetherCorrectAnswer;

    private Integer whetherCorrect;

    @Trans(type = TransType.DICTIONARY, key = "question_classify", ref = "questionClassifyName")
    private Integer questionClassify;

    @Alias("题目分类")
    private String questionClassifyName;

}
